import instance from "@/tools/axios";

//添加
const VpiDisAdd = async (data: any): Promise<ResponseApiDto> => {
  return instance.post("/VipDiscounts/Add", data);
};

//删除
const VpiDisDelete = async (data: any): Promise<ResponseApiDto> => {
  return instance.post("/VipDiscounts/Delete", data);
};

//单个查询
const Get_dg_Disvount = async (params: any): Promise<ResponseApiDto> => {
  return instance.get("/VipDiscounts/Get_dg_Disvount", params);
};

export { VpiDisAdd, VpiDisDelete, Get_dg_Disvount };
